package com.sofly.service.impl.group1;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sofly.dao.group1.IBomDao;
import com.sofly.entity.Bom;
import com.sofly.service.group1.IBomService;

@Service
public class BomService implements IBomService {
	
	@Autowired
	private IBomDao bomdao;
	
	public IBomDao getBomdao() {
		return bomdao;
	}

	public void setBomdao(IBomDao bomdao) {
		this.bomdao = bomdao;
	}


	@Override
	public List<Bom> findBomStocknumber(String stocknumber) {
		// TODO Auto-generated method stub
		return bomdao.selectBom1(stocknumber);
	}


}
